package com.webster.isw.core.gen.entity;

import java.io.Serializable;
import java.util.Date;

public class ScRequestLog implements Serializable {
    private String id;

    private Date startAt;

    private Date endAt;

    private Integer requestCostTime;

    private String userName;

    private String sessionId;

    private String serverScheme;

    private String serverName;

    private Integer serverPort;

    private String requestUri;

    private String requestMethod;

    private String requestParams;

    private Boolean isMobile;

    private String authorization;

    private String pageEncoding;

    private Integer contentLength;

    private String contentType;

    private String requestHeader;

    private String localAddr;

    private String localName;

    private Integer localPort;

    private String pathInfo;

    private String protocol;

    private String remoteAddr;

    private String remoteHost;

    private Integer remotePort;

    private String remoteUser;

    private Boolean isSessionIdValid;

    private Boolean isSecurePath;

    private String responseHeader;

    private String responseEnconding;

    private String responseContentType;

    private Integer responseStatusInt;

    private String responseView;

    private String exceptionClass;

    private String exceptionMessage;

    private String exceptionStackTrack;

    private Integer jvmMaxMemory;

    private Integer jvmTotalMemory;

    private Integer jvmFreeMemory;

    private Integer jvmUserMemory;

    private Date createAt;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public Date getStartAt() {
        return startAt;
    }

    public void setStartAt(Date startAt) {
        this.startAt = startAt;
    }

    public Date getEndAt() {
        return endAt;
    }

    public void setEndAt(Date endAt) {
        this.endAt = endAt;
    }

    public Integer getRequestCostTime() {
        return requestCostTime;
    }

    public void setRequestCostTime(Integer requestCostTime) {
        this.requestCostTime = requestCostTime;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getSessionId() {
        return sessionId;
    }

    public void setSessionId(String sessionId) {
        this.sessionId = sessionId == null ? null : sessionId.trim();
    }

    public String getServerScheme() {
        return serverScheme;
    }

    public void setServerScheme(String serverScheme) {
        this.serverScheme = serverScheme == null ? null : serverScheme.trim();
    }

    public String getServerName() {
        return serverName;
    }

    public void setServerName(String serverName) {
        this.serverName = serverName == null ? null : serverName.trim();
    }

    public Integer getServerPort() {
        return serverPort;
    }

    public void setServerPort(Integer serverPort) {
        this.serverPort = serverPort;
    }

    public String getRequestUri() {
        return requestUri;
    }

    public void setRequestUri(String requestUri) {
        this.requestUri = requestUri == null ? null : requestUri.trim();
    }

    public String getRequestMethod() {
        return requestMethod;
    }

    public void setRequestMethod(String requestMethod) {
        this.requestMethod = requestMethod == null ? null : requestMethod.trim();
    }

    public String getRequestParams() {
        return requestParams;
    }

    public void setRequestParams(String requestParams) {
        this.requestParams = requestParams == null ? null : requestParams.trim();
    }

    public Boolean getIsMobile() {
        return isMobile;
    }

    public void setIsMobile(Boolean isMobile) {
        this.isMobile = isMobile;
    }

    public String getAuthorization() {
        return authorization;
    }

    public void setAuthorization(String authorization) {
        this.authorization = authorization == null ? null : authorization.trim();
    }

    public String getPageEncoding() {
        return pageEncoding;
    }

    public void setPageEncoding(String pageEncoding) {
        this.pageEncoding = pageEncoding == null ? null : pageEncoding.trim();
    }

    public Integer getContentLength() {
        return contentLength;
    }

    public void setContentLength(Integer contentLength) {
        this.contentLength = contentLength;
    }

    public String getContentType() {
        return contentType;
    }

    public void setContentType(String contentType) {
        this.contentType = contentType == null ? null : contentType.trim();
    }

    public String getRequestHeader() {
        return requestHeader;
    }

    public void setRequestHeader(String requestHeader) {
        this.requestHeader = requestHeader == null ? null : requestHeader.trim();
    }

    public String getLocalAddr() {
        return localAddr;
    }

    public void setLocalAddr(String localAddr) {
        this.localAddr = localAddr == null ? null : localAddr.trim();
    }

    public String getLocalName() {
        return localName;
    }

    public void setLocalName(String localName) {
        this.localName = localName == null ? null : localName.trim();
    }

    public Integer getLocalPort() {
        return localPort;
    }

    public void setLocalPort(Integer localPort) {
        this.localPort = localPort;
    }

    public String getPathInfo() {
        return pathInfo;
    }

    public void setPathInfo(String pathInfo) {
        this.pathInfo = pathInfo == null ? null : pathInfo.trim();
    }

    public String getProtocol() {
        return protocol;
    }

    public void setProtocol(String protocol) {
        this.protocol = protocol == null ? null : protocol.trim();
    }

    public String getRemoteAddr() {
        return remoteAddr;
    }

    public void setRemoteAddr(String remoteAddr) {
        this.remoteAddr = remoteAddr == null ? null : remoteAddr.trim();
    }

    public String getRemoteHost() {
        return remoteHost;
    }

    public void setRemoteHost(String remoteHost) {
        this.remoteHost = remoteHost == null ? null : remoteHost.trim();
    }

    public Integer getRemotePort() {
        return remotePort;
    }

    public void setRemotePort(Integer remotePort) {
        this.remotePort = remotePort;
    }

    public String getRemoteUser() {
        return remoteUser;
    }

    public void setRemoteUser(String remoteUser) {
        this.remoteUser = remoteUser == null ? null : remoteUser.trim();
    }

    public Boolean getIsSessionIdValid() {
        return isSessionIdValid;
    }

    public void setIsSessionIdValid(Boolean isSessionIdValid) {
        this.isSessionIdValid = isSessionIdValid;
    }

    public Boolean getIsSecurePath() {
        return isSecurePath;
    }

    public void setIsSecurePath(Boolean isSecurePath) {
        this.isSecurePath = isSecurePath;
    }

    public String getResponseHeader() {
        return responseHeader;
    }

    public void setResponseHeader(String responseHeader) {
        this.responseHeader = responseHeader == null ? null : responseHeader.trim();
    }

    public String getResponseEnconding() {
        return responseEnconding;
    }

    public void setResponseEnconding(String responseEnconding) {
        this.responseEnconding = responseEnconding == null ? null : responseEnconding.trim();
    }

    public String getResponseContentType() {
        return responseContentType;
    }

    public void setResponseContentType(String responseContentType) {
        this.responseContentType = responseContentType == null ? null : responseContentType.trim();
    }

    public Integer getResponseStatusInt() {
        return responseStatusInt;
    }

    public void setResponseStatusInt(Integer responseStatusInt) {
        this.responseStatusInt = responseStatusInt;
    }

    public String getResponseView() {
        return responseView;
    }

    public void setResponseView(String responseView) {
        this.responseView = responseView == null ? null : responseView.trim();
    }

    public String getExceptionClass() {
        return exceptionClass;
    }

    public void setExceptionClass(String exceptionClass) {
        this.exceptionClass = exceptionClass == null ? null : exceptionClass.trim();
    }

    public String getExceptionMessage() {
        return exceptionMessage;
    }

    public void setExceptionMessage(String exceptionMessage) {
        this.exceptionMessage = exceptionMessage == null ? null : exceptionMessage.trim();
    }

    public String getExceptionStackTrack() {
        return exceptionStackTrack;
    }

    public void setExceptionStackTrack(String exceptionStackTrack) {
        this.exceptionStackTrack = exceptionStackTrack == null ? null : exceptionStackTrack.trim();
    }

    public Integer getJvmMaxMemory() {
        return jvmMaxMemory;
    }

    public void setJvmMaxMemory(Integer jvmMaxMemory) {
        this.jvmMaxMemory = jvmMaxMemory;
    }

    public Integer getJvmTotalMemory() {
        return jvmTotalMemory;
    }

    public void setJvmTotalMemory(Integer jvmTotalMemory) {
        this.jvmTotalMemory = jvmTotalMemory;
    }

    public Integer getJvmFreeMemory() {
        return jvmFreeMemory;
    }

    public void setJvmFreeMemory(Integer jvmFreeMemory) {
        this.jvmFreeMemory = jvmFreeMemory;
    }

    public Integer getJvmUserMemory() {
        return jvmUserMemory;
    }

    public void setJvmUserMemory(Integer jvmUserMemory) {
        this.jvmUserMemory = jvmUserMemory;
    }

    public Date getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Date createAt) {
        this.createAt = createAt;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        ScRequestLog other = (ScRequestLog) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getStartAt() == null ? other.getStartAt() == null : this.getStartAt().equals(other.getStartAt()))
            && (this.getEndAt() == null ? other.getEndAt() == null : this.getEndAt().equals(other.getEndAt()))
            && (this.getRequestCostTime() == null ? other.getRequestCostTime() == null : this.getRequestCostTime().equals(other.getRequestCostTime()))
            && (this.getUserName() == null ? other.getUserName() == null : this.getUserName().equals(other.getUserName()))
            && (this.getSessionId() == null ? other.getSessionId() == null : this.getSessionId().equals(other.getSessionId()))
            && (this.getServerScheme() == null ? other.getServerScheme() == null : this.getServerScheme().equals(other.getServerScheme()))
            && (this.getServerName() == null ? other.getServerName() == null : this.getServerName().equals(other.getServerName()))
            && (this.getServerPort() == null ? other.getServerPort() == null : this.getServerPort().equals(other.getServerPort()))
            && (this.getRequestUri() == null ? other.getRequestUri() == null : this.getRequestUri().equals(other.getRequestUri()))
            && (this.getRequestMethod() == null ? other.getRequestMethod() == null : this.getRequestMethod().equals(other.getRequestMethod()))
            && (this.getRequestParams() == null ? other.getRequestParams() == null : this.getRequestParams().equals(other.getRequestParams()))
            && (this.getIsMobile() == null ? other.getIsMobile() == null : this.getIsMobile().equals(other.getIsMobile()))
            && (this.getAuthorization() == null ? other.getAuthorization() == null : this.getAuthorization().equals(other.getAuthorization()))
            && (this.getPageEncoding() == null ? other.getPageEncoding() == null : this.getPageEncoding().equals(other.getPageEncoding()))
            && (this.getContentLength() == null ? other.getContentLength() == null : this.getContentLength().equals(other.getContentLength()))
            && (this.getContentType() == null ? other.getContentType() == null : this.getContentType().equals(other.getContentType()))
            && (this.getRequestHeader() == null ? other.getRequestHeader() == null : this.getRequestHeader().equals(other.getRequestHeader()))
            && (this.getLocalAddr() == null ? other.getLocalAddr() == null : this.getLocalAddr().equals(other.getLocalAddr()))
            && (this.getLocalName() == null ? other.getLocalName() == null : this.getLocalName().equals(other.getLocalName()))
            && (this.getLocalPort() == null ? other.getLocalPort() == null : this.getLocalPort().equals(other.getLocalPort()))
            && (this.getPathInfo() == null ? other.getPathInfo() == null : this.getPathInfo().equals(other.getPathInfo()))
            && (this.getProtocol() == null ? other.getProtocol() == null : this.getProtocol().equals(other.getProtocol()))
            && (this.getRemoteAddr() == null ? other.getRemoteAddr() == null : this.getRemoteAddr().equals(other.getRemoteAddr()))
            && (this.getRemoteHost() == null ? other.getRemoteHost() == null : this.getRemoteHost().equals(other.getRemoteHost()))
            && (this.getRemotePort() == null ? other.getRemotePort() == null : this.getRemotePort().equals(other.getRemotePort()))
            && (this.getRemoteUser() == null ? other.getRemoteUser() == null : this.getRemoteUser().equals(other.getRemoteUser()))
            && (this.getIsSessionIdValid() == null ? other.getIsSessionIdValid() == null : this.getIsSessionIdValid().equals(other.getIsSessionIdValid()))
            && (this.getIsSecurePath() == null ? other.getIsSecurePath() == null : this.getIsSecurePath().equals(other.getIsSecurePath()))
            && (this.getResponseHeader() == null ? other.getResponseHeader() == null : this.getResponseHeader().equals(other.getResponseHeader()))
            && (this.getResponseEnconding() == null ? other.getResponseEnconding() == null : this.getResponseEnconding().equals(other.getResponseEnconding()))
            && (this.getResponseContentType() == null ? other.getResponseContentType() == null : this.getResponseContentType().equals(other.getResponseContentType()))
            && (this.getResponseStatusInt() == null ? other.getResponseStatusInt() == null : this.getResponseStatusInt().equals(other.getResponseStatusInt()))
            && (this.getResponseView() == null ? other.getResponseView() == null : this.getResponseView().equals(other.getResponseView()))
            && (this.getExceptionClass() == null ? other.getExceptionClass() == null : this.getExceptionClass().equals(other.getExceptionClass()))
            && (this.getExceptionMessage() == null ? other.getExceptionMessage() == null : this.getExceptionMessage().equals(other.getExceptionMessage()))
            && (this.getExceptionStackTrack() == null ? other.getExceptionStackTrack() == null : this.getExceptionStackTrack().equals(other.getExceptionStackTrack()))
            && (this.getJvmMaxMemory() == null ? other.getJvmMaxMemory() == null : this.getJvmMaxMemory().equals(other.getJvmMaxMemory()))
            && (this.getJvmTotalMemory() == null ? other.getJvmTotalMemory() == null : this.getJvmTotalMemory().equals(other.getJvmTotalMemory()))
            && (this.getJvmFreeMemory() == null ? other.getJvmFreeMemory() == null : this.getJvmFreeMemory().equals(other.getJvmFreeMemory()))
            && (this.getJvmUserMemory() == null ? other.getJvmUserMemory() == null : this.getJvmUserMemory().equals(other.getJvmUserMemory()))
            && (this.getCreateAt() == null ? other.getCreateAt() == null : this.getCreateAt().equals(other.getCreateAt()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getStartAt() == null) ? 0 : getStartAt().hashCode());
        result = prime * result + ((getEndAt() == null) ? 0 : getEndAt().hashCode());
        result = prime * result + ((getRequestCostTime() == null) ? 0 : getRequestCostTime().hashCode());
        result = prime * result + ((getUserName() == null) ? 0 : getUserName().hashCode());
        result = prime * result + ((getSessionId() == null) ? 0 : getSessionId().hashCode());
        result = prime * result + ((getServerScheme() == null) ? 0 : getServerScheme().hashCode());
        result = prime * result + ((getServerName() == null) ? 0 : getServerName().hashCode());
        result = prime * result + ((getServerPort() == null) ? 0 : getServerPort().hashCode());
        result = prime * result + ((getRequestUri() == null) ? 0 : getRequestUri().hashCode());
        result = prime * result + ((getRequestMethod() == null) ? 0 : getRequestMethod().hashCode());
        result = prime * result + ((getRequestParams() == null) ? 0 : getRequestParams().hashCode());
        result = prime * result + ((getIsMobile() == null) ? 0 : getIsMobile().hashCode());
        result = prime * result + ((getAuthorization() == null) ? 0 : getAuthorization().hashCode());
        result = prime * result + ((getPageEncoding() == null) ? 0 : getPageEncoding().hashCode());
        result = prime * result + ((getContentLength() == null) ? 0 : getContentLength().hashCode());
        result = prime * result + ((getContentType() == null) ? 0 : getContentType().hashCode());
        result = prime * result + ((getRequestHeader() == null) ? 0 : getRequestHeader().hashCode());
        result = prime * result + ((getLocalAddr() == null) ? 0 : getLocalAddr().hashCode());
        result = prime * result + ((getLocalName() == null) ? 0 : getLocalName().hashCode());
        result = prime * result + ((getLocalPort() == null) ? 0 : getLocalPort().hashCode());
        result = prime * result + ((getPathInfo() == null) ? 0 : getPathInfo().hashCode());
        result = prime * result + ((getProtocol() == null) ? 0 : getProtocol().hashCode());
        result = prime * result + ((getRemoteAddr() == null) ? 0 : getRemoteAddr().hashCode());
        result = prime * result + ((getRemoteHost() == null) ? 0 : getRemoteHost().hashCode());
        result = prime * result + ((getRemotePort() == null) ? 0 : getRemotePort().hashCode());
        result = prime * result + ((getRemoteUser() == null) ? 0 : getRemoteUser().hashCode());
        result = prime * result + ((getIsSessionIdValid() == null) ? 0 : getIsSessionIdValid().hashCode());
        result = prime * result + ((getIsSecurePath() == null) ? 0 : getIsSecurePath().hashCode());
        result = prime * result + ((getResponseHeader() == null) ? 0 : getResponseHeader().hashCode());
        result = prime * result + ((getResponseEnconding() == null) ? 0 : getResponseEnconding().hashCode());
        result = prime * result + ((getResponseContentType() == null) ? 0 : getResponseContentType().hashCode());
        result = prime * result + ((getResponseStatusInt() == null) ? 0 : getResponseStatusInt().hashCode());
        result = prime * result + ((getResponseView() == null) ? 0 : getResponseView().hashCode());
        result = prime * result + ((getExceptionClass() == null) ? 0 : getExceptionClass().hashCode());
        result = prime * result + ((getExceptionMessage() == null) ? 0 : getExceptionMessage().hashCode());
        result = prime * result + ((getExceptionStackTrack() == null) ? 0 : getExceptionStackTrack().hashCode());
        result = prime * result + ((getJvmMaxMemory() == null) ? 0 : getJvmMaxMemory().hashCode());
        result = prime * result + ((getJvmTotalMemory() == null) ? 0 : getJvmTotalMemory().hashCode());
        result = prime * result + ((getJvmFreeMemory() == null) ? 0 : getJvmFreeMemory().hashCode());
        result = prime * result + ((getJvmUserMemory() == null) ? 0 : getJvmUserMemory().hashCode());
        result = prime * result + ((getCreateAt() == null) ? 0 : getCreateAt().hashCode());
        return result;
    }
}